<!DOCTYPE html>
<html>
    <head>
        <#include "*/common.ftl">
    </head>
    <body class="childrenBody">
        <form class="layui-form" style="width:80%;">
            <input name="id" type="hidden" value="${(dataDicInfo.id)!}"/>
            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">名称</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input dataDicName"
                           lay-verify="required" name="dataDicName" id="dataDicName"  value="${(dataDicInfo.dataDicName)!}" placeholder="请输入字典名称">
                </div>
            </div>
            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">编码</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input dataDicSn"
                           lay-verify="required" name="dataDicSn" id="dataDicSn" value="${(dataDicInfo.dataDicSn)!}" placeholder="请输入字典编码">
                </div>
            </div>
            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">简介</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input dataDicIntro"
                           lay-verify="required" name="dataDicIntro" id="dataDicIntro" value="${(dataDicInfo.dataDicIntro)!}" placeholder="请输入字典简介">
                </div>
            </div>

            <br/>
            <div class="layui-form-item layui-row layui-col-xs12">
                <div class="layui-input-block">
                    <button class="layui-btn layui-btn-lg" lay-submit="" lay-filter="addOrUpdateDataDic">确认
                    </button>
                    <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消</button>
                </div>
            </div>
        </form>

    <script type="text/javascript" src="${ctx.contextPath}/js/datadic/add.update.js"></script>
    </body>
</html>